package com.woniuxy.credit_loans.product_liu.service.impl;

import com.woniuxy.credit_loans.entity.ProductType;
import com.woniuxy.credit_loans.mapper.ProductTypeMapper;
import com.woniuxy.credit_loans.product_liu.service.ProductTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductTypeServiceImpl implements ProductTypeService {
    @Autowired
    private ProductTypeMapper productTypeMapper;

    @Override
    public List<ProductType> selectAllType() {
        return productTypeMapper.selectAllType();
    }
}
